<?php #coding: utf-8 æ ø ?>
<div class="indhold">

<?php
	if($stamdata['type'] == "entitet") {
		if(in_array("gruppe",$element_typer)) {
			$data['type'] = "gruppe";
		}
		if(in_array("individ",$element_typer)) {
			$data['type'] = "individ";
		}
	}
	else { $data['type'] = $stamdata['type']; }
	?>

	<form action="<? echo base_url(); ?>core/rediger/navn/<? echo $data['type']; ?>/<? echo $stamdata['id']; ?>" method="post">
		<input type="hidden" name="aktion" value="ret"/>
		<input type="text" style="width:300px;font-weight:bold;" class="ink" name="nyt_navn" value="<? echo $navne[0]; ?>"/>
		<input class="submit" type=submit value="<? echo 'Ret'; ?>"/>
	</form>
</div>
